/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sjtu.ist.ecommerce.model;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "Order")
public class Order {
	@XmlElement(name = "id")
    private int id;
	@XmlElement(name = "name")
    private String name;
	@XmlElement(name = "goods")
    private String goods;
    
    public Order(){
    }
    
    public int getId(){
        return id;
    }
    
    public void setId(int id){
        this.id = id;
    }
    
    public String getName(){
        return name;
    }
    
    public void setName(String name){
        this.name = name;
    }
    
    public String getGoods(){
        return goods;
    }
    
    public void setGoods(String goods){
        this.goods = goods;
    }
}
